Repository navigation
Conversation
`The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions`
Generated by 🚫 Danger Swift against 9353fb2 |
417-72KI
force-pushed
the
swift-6
branch
3 times, most recently
from
October 25, 2026 16:29
0583e7f to
f292c30
Compare
… shared object file: No such file or directory`
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The consolidated workflow can skip failed-test reporting and bypass license checks for LICENSE-only pull requests.
2 open issues
What changed in this PR
This PR moves MultipartFormDataParser to Swift 6, requiring Swift 6.1 or later, and updates its tests and CI infrastructure.
Changes:
- Enables Swift 6 language mode and explicit public imports.
- Migrates tests to Swift Testing with asynchronous helpers and per-session network stubs.
- Consolidates CI workflows and adds merged test-result reporting through Danger.
| File | Description |
|---|---|
| Tests/MultipartFormDataParserTests/MultipartFormDataParserTests.swift | Migrates test cases to Swift Testing. |
| Tests/MultipartFormDataParserTests/_Util/TestStub.swift | Replaces global handlers with a response provider. |
| Tests/MultipartFormDataParserTests/_Util/StubURLProtocol.swift | Adds provider-based, per-session stubbing. |
| Tests/MultipartFormDataParserTests/_TestFunctions/TestFunction_URLSession.swift | Injects sessions into standalone helpers. |
| Tests/MultipartFormDataParserTests/_TestFunctions/TestFunction_APIKit.swift | Converts APIKit helpers to asynchronous testing. |
| Tests/MultipartFormDataParserTests/_TestFunctions/TestFunction_Alamofire.swift | Consolidates Alamofire helpers around async uploads. |
| Tests/MultipartFormDataParserTests/_Extension/XCTest+Activity.swift | Removes the XCTest activity helper. |
| Tests/MultipartFormDataParserTests/_Extension/URLSession+Linux.swift | Makes Linux helper methods internal. |
| Sources/MultipartFormDataParser/MultipartFormData.swift | Makes Foundation imports public. |
| Sources/MultipartFormDataParser/Extensions/Data+Util.swift | Uses Self for the result array type. |
| Sources/MultipartFormDataParser/Error.swift | Makes the Foundation import public. |
| Package.swift | Requires Swift 6.1 and updates language settings and dependencies. |
| DangerfileExtensions/TestResult.swift | Adds models for exported test results. |
| Dangerfile.swift | Reports test-result status through Danger. |
| .swiftlint.yml | Adjusts disabled lint rules. |
| .github/workflows/test.yml | Removes the separate test workflow. |
| .github/workflows/pr.yml | Combines testing, result merging, and Danger. |
| .github/workflows/danger.yml | Removes the separate Danger workflow. |
| .github/matrix.yml | Defines runner, Xcode, and Swift combinations. |
| .github/matrix.json | Removes the previous matrix definition. |
| .github/create-matrix.sh | Generates workflow matrices from YAML. |
| .github/CODEOWNERS | Adds repository-wide code ownership. |
Review effort: Balanced
#122 (comment) Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.